package com.seanchenxi.gwt.wordpress.xmlrpc.service.model.impl;

import com.seanchenxi.gwt.wordpress.domain.model.UserInfo;
import com.seanchenxi.gwt.xmlrpc.client.model.impl.BaseModelImpl;

public class UserInfoImpl extends BaseModelImpl implements UserInfo {

	/**
	 * Generated id
	 */
	private static final long serialVersionUID = -7752313016530108116L;
	final static String NICK_NAME = "nickname";
	final static String USER_ID = "userid";
	final static String URL = "url";
	final static String LAST_NAME = "lastname";
	final static String FIRST_NAME = "firstname";

	@Override
	public String getNickName() {
		return get(NICK_NAME);
	}

	@Override
	public void setNickName(String nickName) {
		set(NICK_NAME, nickName);
	}

	@Override
	public int getUserId() {
		return get(USER_ID);
	}

	@Override
	public void setUserId(int userid) {
		set(USER_ID, userid);
	}

	@Override
	public String getURL() {
		return get(URL);
	}

	@Override
	public void setURL(String url) {
		set(URL, url);
	}

	@Override
	public String getLastName() {
		return get(LAST_NAME);
	}

	@Override
	public void setLastName(String lastName) {
		set(LAST_NAME, lastName);
	}

	@Override
	public String getFirstName() {
		return get(FIRST_NAME);
	}

	@Override
	public void setFirstName(String firstName) {
		set(FIRST_NAME, firstName);
	}

}
